package com.atguigu.ssyx;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.atguigu.ssyx", "com.atguigu.ssyx.config"})
public class CodeApplication {

    private static final Logger logger = LogManager.getLogger(CodeApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(CodeApplication.class, args);
        logger.info("启动成功");
    }
}